import 'package:get/get.dart';
import '../pages/bars.dart';
import '../pages/shop.dart';
import '../pages/user/login.dart';
import '../pages/user/registerFirst.dart';
import '../pages/user/registerSecond.dart';
import '../pages/user/registerThird.dart';
import '../middleware/shopMiddleware.dart';

class AppPage {
  static final routes = [
    GetPage(name: "/", page: () => Bars()),
    GetPage(
      name: "/shop",
      page: () => ShopPage(),
      middlewares: [ShopMiddleware()],
    ),
    GetPage(name: "/login", page: () => LoginPage()),
    GetPage(name: "/registerFirst", page: () => RegisterFirstPage()),
    GetPage(name: "/registerSecond", page: () => RegisterSecondPage()),
    GetPage(name: "/registerThird", page: () => RegisterThirdPage()),
  ];
}
